package com.lovo.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lovo.sys.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface IUserMapper extends BaseMapper<UserBean> {
    /**
     * 查询所有客户（按消费金额降序排序）
     * @param page
     * @param pageNO
     * @return
     */
    public IPage<UserBean> findByConsumption(Page page, int pageNO);

}
